package com.zjitc.po;

import java.util.Date;

/**
 * Created by Administrator on 2018/9/12.
 *
 * @author:Pppeter
 */
public class News {
    public Integer nid;
    public String title;
    public String uid;
    public String content;
    public Date createTime;
    public Integer transpond;
    public Integer comment;
    public Integer collect;
    public Integer like;
    public Integer cid;
    public String image;

    public News() {
    }

    public News(Integer nid, String title, String uid, String content, Date createTime, Integer transpond, Integer comment, Integer collect, Integer like, Integer cid, String image) {
        this.nid = nid;
        this.title = title;
        this.uid = uid;
        this.content = content;
        this.createTime = createTime;
        this.transpond = transpond;
        this.comment = comment;
        this.collect = collect;
        this.like = like;
        this.cid = cid;
        this.image = image;
    }

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getTranspond() {
        return transpond;
    }

    public void setTranspond(Integer transpond) {
        this.transpond = transpond;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public Integer getCollect() {
        return collect;
    }

    public void setCollect(Integer collect) {
        this.collect = collect;
    }

    public Integer getLike() {
        return like;
    }

    public void setLike(Integer like) {
        this.like = like;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "News{" +
                "nid=" + nid +
                ", title='" + title + '\'' +
                ", uid='" + uid + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", transpond=" + transpond +
                ", comment=" + comment +
                ", collect=" + collect +
                ", like=" + like +
                ", cid=" + cid +
                ", image='" + image + '\'' +
                '}';
    }
}
